<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<c:set var="ptn" value="######0.0000" />
<c:forEach items="${armItems}" var="aitem" varStatus="statu">
        
    
	
	<tr id='amp${gindex}'
	    class="${aitem.actioned?"success":""}"
	  >
		<td valign="bottom">	
		${aitem.host.code}			
		</td>
		<!-- 从左往右依次为 -->
		<!-- 产品名称 -->
		<td valign="bottom" >
		${aitem.host.name}
		</td>
		<td valign="bottom">${aitem.dataItems['ForwardStore'].atomValue}</td>
		<td valign="bottom">${aitem.dataItems['ForwardStore'].accumulateValue}</td>
		
		<!-- 本月计划 -->
		
		<td valign="bottom">
		   <span style="color:blue;font-weight:bolder">
		     ${aitem.monthPlan}
		   </span>
		</td>
		
		<!-- 产品本日生产-->
		
		
		
		
		<td valign="bottom">
		<fmt:formatNumber value="${aitem.dataItems['Action'].atomValue}" pattern="${ptn}" /></td>

		
		<td valign="bottom">
        <fmt:formatNumber value="${aitem.dataItems['Action'].accumulateValue}" pattern="${ptn}" /> 
        </td>

		
		<!-- 今日验收合格 -->
		<td valign="bottom">
          <fmt:formatNumber 
			value="${aitem.dataItems['Passed'].atomValue}" pattern="${ptn}" />
        </td>
		<!-- 截止今日验收累计合格 -->
		
		<td valign="bottom">
          <fmt:formatNumber value="${aitem.dataItems['Passed'].accumulateValue}" pattern="${ptn}" />
        </td>

		
		<td valign="bottom">
         <fmt:formatNumber 
			value="${aitem.dataItems['Waster'].atomValue}" pattern="${ptn}" />  
        </td>

		
		<td valign="bottom">
       <fmt:formatNumber
			value="${aitem.dataItems['Waster'].accumulateValue}" 
			pattern="${ptn}" />
  
        </td>

		
		<td valign="bottom">
		  <fmt:formatNumber 
			value="${aitem.dataItems['Test'].atomValue}" pattern="${ptn}" />
        
        </td>

		
		<td valign="bottom"><fmt:formatNumber value="${aitem.dataItems['Test'].accumulateValue}" pattern="${ptn}" /></td>
		<td valign="bottom">${aitem.dataItems['FinalStore'].atomValue}</td>
		<td valign="bottom">
		${aitem.remark}
		</td>
		<td>
		${aitem.itemType}				
	    </td>
	</tr>
	
	<c:set var="gindex" value="${gindex+1}" scope="request"/>
</c:forEach>